Initializes a new instance of the BarSeries class.
Namespace: MindFusion.Charting
File: BarSeries.js
JavaScript Copy Code |
---|
function BarSeries (values, innerLabels, [topLabels, [xAxisLabels]]) |
A list of data values.
A list of inner labels.
A list of top labels.
A list of X axis labels.
The following code creates two BarSeries with data and outer labels and a new BarStackRenderer using these series.
JavaScript Copy Code |
---|
//the second argument specifies the inner labels, the third argument specifies the top(outer) labels var barRenderer = new Charting.BarStackRenderer(new Collections.ObservableCollection([data1, data2])); |